package main

import (
	"fmt"
	"time"
)

func main() {
	start := time.Now()
	go doSometing()
	go doSomethingElse()

	fmt.Println("It took", time.Since(start))
}

func doSometing() {
	time.Sleep(1 * time.Second)
	fmt.Println("Done")
}

func doSomethingElse() {
	time.Sleep(2 * time.Second)
	fmt.Println("Done")
}
